package com.example.mongo.Model.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
@Data
@Document("shelf")
public class Shelf implements Serializable {
    @Id
    public String id;
    public int comicId;
    public Date readTime;
    public int isShow;
}
